---
layout: base
title: Overview
---

<header class="jumbotron subhead" id="overview">
  <div class="container">
    <h1>Sugar ORM</h1>
    <p class="lead">Insanely easy way to work with Android Databases.</p>
  </div>
</header>

<div class="container">
  <div class="row">
    <div class="col-md-3">
      <div id="sidebar" role="complementary" data-spy="affix" data-offset-top="165">
        <ul class="nav sidebar">
          <li class="active"><a href="#download-sugar">Download</a></li>
          <li><a href="#how-help">How does it help</a></li>
          <li><a href="#why">Why it was made</a></li>
          <li><a href="#what">What it provides</a></li>
          <li><a href="#what-next">What next?</a></li>
        </ul>
      </div>
    </div>
    <div class="col-md-9">
      <section id="download-sugar">
        <div class="page-header">
          <h1>1. Download</h1>
        </div>
        <p class="lead">Gradle:</p>

        <div class="row">


{% highlight xml %}
compile 'com.github.satyan:sugar:1.3'
{% endhighlight %}
        
          
        </div>
      </section>


      <section id="how-help">
        <div class="page-header">
          <h1>2. How does it help.</h1>
        </div>
        <p class="lead">It is intended to simplify the interaction with SQLite database in Android.</p>

        <ul>
          <li>It eliminates writing SQL queries to interact with SQLite db.</li>
          <li>It takes care of creating your database.</li>
          <li>It manages object relationships too.</li>
          <li>It provides you with clear and simple APIs for db operations</li>
        </ul>
      </section>


      <section id="why">
        <div class="page-header">
          <h1>3. Why it was made</h1>
        </div>
        <p class="lead">We felt the need for it while building Android apps that had following characteristics:</p>

        <ul>
          <li>Fairly large and complex data model.</li>
          <li>Primary work was to save/retrieve and iterate over the business objects.</li>
          <li>Lot of boiler plate code for the db operations.</li>
          <li>We wanted to write our business logic in less technical and more business fashion.</li>
        </ul>
      </section>


      <section id="what">
        <div class="page-header">
          <h1>4. What it provides</h1>
        </div>
        <p class="lead">There are two parts to it:</p>
        <ul>
          <li>database creation</li>
          <li>simple APIs to manipulate your business objects</li>
        </ul>
      </section>


      <section id="what-next">
        <div class="page-header">
          <h1>What next?</h1>
        </div>
        <p class="lead">Get started by including Sugar ORM as part of your project. Read the "Getting Started" section for help.</p>
      </section>
    </div>
  </div>
</div>
